package com.sy.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @className: AdminsAddDTO
 * @author: Mr.Liu
 * @date: 2025/10/30 15:18
 * @Version: 1.0
 * @description:
 */
@Data
@Schema(description = "员工添加入参")
public class AdminsAddDTO {
    @Schema(description="账号",requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "账号不能为空")
    private String username;
    @NotBlank(message = "密码不能为空")
    @Schema(description="密码")
    private String password;
    @NotBlank(message = "用户名不能为空")
    @Schema(description="用户名")
    private String name;
    @NotBlank(message = "状态不能为空")
    @Schema(description="状态")
    private Integer status;
}
